Jan-Philipp Kolb
04/13/2015
Various map types:
There are more which will be presented next week…
The R-package ggmap will be used in the following to produce different types of maps with the command qmap
A road map is one of the most widely used map types.
These maps show major and minor highways and roads (depending on detail)
as well as things like airports, city locations and points of interest like parks, campgrounds and monuments.
Major highways on a road map are generally red and larger than other roads,
while minor roads are a lighter color and a narrower line.
install.packages("ggmap")
librarylibrary(ggmap)
qmap("Mannheim")
qmap("Berlin Brandenburger Tor")
qmap("Germany")
qmap("Germany", zoom = 6)
?qmap
Different components in the help
Extract from the help file on qmap:
```
This examples can be directly copy-pasted to the console
qmap(location = "baylor university")
qmap(location = "baylor university", zoom = 14)
# and so on
qmap("Mannheim", zoom = 12)
qmap(location = 'Mannheim', zoom = 13)
qmap('Mannheim', zoom = 20)
qmap('Mannheim', zoom = 14, source="osm")
qmap('Mannheim', zoom = 14, source="osm",color="bw")
qmap('Mannheim', zoom = 14, maptype="satellite")
qmap('Mannheim', zoom = 21, maptype="hybrid")
qmap("Mannheim", zoom = 14, maptype="hybrid")